/** *******************************************************************
 * FlexDatabaseManager
 * @author  Jonnie Spratley
 * @contact jonniespratley@gmail.com
 * @internal
 ******************************************************************* */
package com.jonniespratley.flexdatabasemanager.business
{
	import com.adobe.cairngorm.business.ServiceLocator;
	import com.jonniespratley.flexdatabasemanager.vo.QueryVO;
	
	import mx.rpc.IResponder;

	public class QueryDelegate
	{
		private var responder:IResponder;
		private var service:Object;

		public function QueryDelegate( responder:IResponder )
		{
			this.service = ServiceLocator.getInstance().getHTTPService( 'QueryService' );
			this.responder = responder;
		}

		/************** ServiceCalls ********************/
		
		public function addToFavorites( aQuery:QueryVO ):void
		{
			
		}
		
		public function addToHistory( aQuery:QueryVO ):void
		{
			
		}
		
		public function removeFromFavorites( aQuery:QueryVO ):void
		{
			
		}
		
		public function removeFromHistory( aQuery:QueryVO ):void
		{
			
		}
		
		public function getHistory():void
		{
			
		}
		
		public function getFavorites():void
		{
			
		}
	}
	
}